/**
 * Created by Administrator on 2015/8/14.
 */
var userDao = require('../dao/DemoUserDao');

module.exports = {
    //queryByUser:function(req, res, callback) {
    //    userDao.queryByUser(req, res, function(a){callback(a)});
    //},
    add :function(req, res, callback) {
        userDao.add(req, res, function(result){callback(result)});
    },
    delete :function(req, res, callback) {
        userDao.delete(req, res, function(result){callback(result)});
    },
    update :function(req, res, callback) {
        userDao.update(req, res, function(result){callback(result)});
    },
    queryAll :function(req, res, callback) {
        userDao.queryAll(req, res, function(result){callback(result)});
    }

}